From: Keir Fraser Date: Wed, 1 Apr 2009 12:17:34 +0000 (+0100) Subject: xend: Revert c/s 19436 -- fails with Python 2.3, and sock.close() X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13989^2~19 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=db8811093e5b8bfacb90e3144fbf94c04ef3ace3;p=xen.git xend: Revert c/s 19436 -- fails with Python 2.3, and sock.close() should suffice to shutdown a connection. Signed-off-by: Keir Fraser --- diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index 6cde465559..b624f786ad 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -1378,7 +1378,6 @@ class XendDomain: XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst, node=node) finally: - sock.shutdown(socket.SHUT_RDWR) sock.close() def domain_save(self, domid, dst, checkpoint=False):